package com.hxh.rpc.spring.boot.autoconfiguration;

import com.hxh.rpc.consumer.RpcConsumerPostProcessor;
import org.springframework.beans.factory.config.BeanFactoryPostProcessor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author hxh
 * @date 2022/3/4
 * @since 1.0
 */
@Configuration
public class RpcConsumerAutoConfiguration {

    @Bean
    public BeanFactoryPostProcessor initRocConsumer() {
        return new RpcConsumerPostProcessor();
    }
}
